<?php

 class phpReportGenerator
{
    var $mysql_resource;
	var $header;
	var $foolter;
    var $fields = array();
	var $cellpad;
	var $cellspace;
	var $border;
	var $width;
	var $modified_width;
	var $header_color;
	var $header_textcolor;
	var $header_alignment;
	var $body_color;
	var $body_textcolor;
	var $body_alignment;
	var $surrounded;
	var $outstanding_amt;
	
	function PrintInvoiceNumber()
	{
		$sqlb = "SELECT invoicenumber FROM invoiceconfig
                WHERE CURDATE()
                BETWEEN financialyearstart
                AND financialyearend
                AND STATUS =0";
		$result = mysql_query($sqlb);
		if (!$result) {
			echo "Could not successfully run query ($sql) from DB: " . mysql_error();
			exit;
		}
		
		$row = mysql_fetch_row($result);
		
		echo '&nbsp;&nbsp;Invoice No:   '.$row[1].$row[0];
				
		$sqlb = "update  invoiceconfig set invoicenumber =invoicenumber + 1 where CURDATE()
                 BETWEEN financialyearstart
                 AND financialyearend
                 AND STATUS =0";
		$res = mysql_query($sqlb);
	}
	
	function GetCustomerAddress()
	{
		 $sqlb = "SELECT address, city from customermast where custid=".$_REQUEST['custid'];
		 $result = mysql_query($sqlb);
		 if (!$result) {
			 echo "Could not successfully run query ($sql) from DB: " . mysql_error();
			 exit;
		 }
		
		 $row = mysql_fetch_row($result);
		 $custaddr = $row[0];
		 $custcity = $row[1];
		
		//echo 'Address1222'.',';
		echo $custaddr.'<br>'.' &nbsp;&nbsp;'.$custcity;
	}
		
	function generateReport()
	{
		$this->border = (empty($this->border))?"1":$this->border;
		$this->cellpad = (empty($this->cellpad))?"1":$this->cellpad;
		$this->cellspace = (empty($this->cellspace))?"0":$this->cellspace;
		$this->width = (empty($this->width))?"100%":$this->width;
		$this->header_color = (empty($this->header_color))?"#FFFFFF":$this->header_color;
		$this->header_textcolor = (empty($this->header_textcolor))?"#000000":$this->header_textcolor;		
		$this->header_alignment = (empty($this->header_alignment))?"Center":$this->header_alignment;
		$this->body_color = (empty($this->body_color))?"#FFFFFF":$this->body_color;
		$this->body_textcolor = (empty($this->body_textcolor))?"#000000":$this->body_textcolor;
		$this->body_alignment = (empty($this->body_alignment))?"Right":$this->body_alignment;
		$this->surrounded = (empty($this->surrounded))?false:true;
		$this->modified_width = ($this->surrounded==true)?"100%":$this->width;
		
		//echo "modified_width : ".$this->modified_width."<br>"; 
		
		// if (!is_resource($this->mysql_resource))
		// die ("User doesn't supply any valid mysql resource after executing query result");

		/*
		* Lets calculate how many fields are there in supplied resource
		* and store their name in $this->fields[] array
		*/
		
		$field_count = mysql_num_fields($this->mysql_resource);
		$i = 0; 
		
		while ($i < $field_count)
		{
			$field = mysql_fetch_field($this->mysql_resource);
			$this->fields[$i] = $field->name;
			$this->fields[$i][0] = strtoupper($this->fields[$i][0]);
			$i++;
		}
				
		/*
		* Now start table generation
		* We must draw this table according to number of fields
		*/
		
		//echo "<b><i>".$this->header."</i></b>";
		//echo "<P></P>";
		
		//Check If our table has to be surrounded by an additional table
		//which increase style of this table
		// if ($this->surrounded == true) 
			// //echo "<table width='$this->width'  border='1' cellspacing='0' cellpadding='0'><tr><td>";
			// echo "<TABLE WIDTH=602 CELLPADDING=3 CELLSPACING=0 BGCOLOR='#ffffff'>
            // <COL WIDTH=92>
	        // <COL WIDTH=1922>
	        // <COL WIDTH=58>
	        // <COL WIDTH=60>
	        // <COL WIDTH=60>";
			
		//echo "<table width='$this->modified_width'  border='$this->border' cellspacing='$this->cellspace' cellpadding='$this->cellpad'>";
		//echo "<tr bgcolor = '#d4d4d4'>";
		
		//Header Draw
		// for ($i = 0; $i< $field_count; $i++)
		// {
		// if($i<2) continue; //skip printing 1st and 2nd col
			// //Now Draw Headers
			// //echo "<th align = '$this->header_alignment'><font color = '$this->header_textcolor'>&nbsp;".$this->fields[$i]."</font></th>";
			// echo  "<td align = '$this->header_alignment' ; WIDTH=72 STYLE='border-top: none; border-bottom: 1px dotted #cccccc; border-left: none; border-right: none; padding-top: 0in; padding-bottom: 0.03in; padding-left: 0in; padding-right: 0in>
             // <P LANG=en-US CLASS=western ALIGN=CENTER><SPAN STYLE=text-transform: uppercase><FONT COLOR='#333333'><FONT FACE='Arial, serif'><FONT SIZE=1 STYLE='font-size: 8pt'><B>".$this->fields[$i]."</B></FONT></FONT></FONT></SPAN></P></td>";
		// }

    	// echo "</tr>";
		
		//Now fill the table with data
		while ($rows = mysql_fetch_row($this->mysql_resource))
		{
		     $o = strpos($rows[3],'otal Outstanding');
			 if($o > 0)
             {
		    	echo "<tr borderalign = '$this->body_alignment' bgcolor = '#d4d4d4'>";			
			 }
			 else
			 {
			    echo "<tr  align='$this->body_alignment' bgcolor = '#ffffff'>";
			 }
			 
			
			for ($i = 0; $i < $field_count; $i++)
			{
			
			if($i<2) continue; //skip printing 1st and 2nd col
				$len = strlen($rows[$i]);
				if($len =1) 
				  $desc = $rows[$i];
				else
				  $desc = '';
				
                $len1 = strlen($rows[$i]);
    			if($len1 !=1) 
				  $desc1  = $rows[$i];
				else
				  $desc1 = '';
         
            if($o > 0) //(is_numeric($o))
                {
			//	echo "<TD align=center  STYLE='border-top: none; border-bottom: 1px solid #cccccc; border-left: none; border-right: none; padding-top: 0in; padding-bottom: 0.03in; padding-left: 0in; padding-right: 0in'>
			//	<P LANG='en-US' CLASS='western'><FONT FACE='Arial, serif' SIZE=1 STYLE='font-size: 10pt'><B>".$desc1."</B></FONT></P></TD>";
				
				$this->outstanding_amt =$rows[5]; 
				}
				else
				{
							
				if($i==4)
                {
					printf("<TD style='border-left:1px solid #000001;border-right:1px solid #000001;border-bottom:1px solid #000001;padding:0.03in'> <P LANG='en-US' CLASS='western' %s><FONT FACE='Arial, serif' SIZE=1>%s</FONT></P></TD>",($i==3) ? 'align=left': '',$desc);
				}
				  else
				 {
					printf("<TD style='border-left:1px solid #000001;border-right:none; border-bottom:1px solid #000001;padding:0.03in'> <P LANG='en-US' CLASS='western' %s><FONT FACE='Arial, serif' SIZE=1>%s</FONT></P></TD>",($i==3) ? 'align=left': '',$desc);
				 }
				}
			}
			echo "</tr>";
		}
	  //   echo "</table>";
	 //    if ($this->surrounded == true) 
	//	 echo "</td></tr></table>";
	}
  }
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head>
 <!--   <STYLE TYPE="text/css">
		@page { margin: 1in }
		P {margin-top: 0.08in;  margin-bottom: 0.08in; direction: ltr; line-height: 115%; widows: 2; orphans: 2 }
		P.western { so-language: en-US }
        
        <STYLE TYPE="text/css">
         #footer  {
   width:176mm;
   margin:0.15mm;
   padding-bottom:3mm;
   }        
 
 #footer table {
    width:90%; 
                border-left: 1px solid #ccc;
                border-top: 1px solid #ccc;
                background:#eee;
                border-spacing:0;
                border-collapse: collapse;
                } 
               
                #footer table td   {
                 width:25%;
                 text-align:center;
                 font-size:9pt;
                 border-right: 1px solid #ccc;
                 border-bottom: 1px solid #ccc;
                 }
               
	</STYLE> -->
        
<body>
  <div link="#0000ff" dir="LTR" lang="en-IN">
  <table cellpadding="0" cellspacing="0" width="730">
 <tbody>
   <tr>
	<td style="border-top:none;border-bottom:none;border-left:none;border-right:none;padding:0in;line-height:100%;margin-bottom:none" align="RIGHT"> 
	<img align="LEFT" src="shreelogo.png" alt="name" width="100" height="100" />
    <p align="RIGHT"><font face="Arial, serif"> <font style="font-size:9pt" size="1">
			<b><font color="red" style="font-size:12pt" font-family=
"TT18o00"> Shree Communications&nbsp;</b> </font></br>
				2, Ganesh Darshan, LBS Marg,&nbsp;</br> 
				Mulund Check Naka, Mulund (W)&nbsp;</br>
				Mumbai-400080, India&nbsp; </br>
				Tel : +91 022-21641631 / 21649516 &nbsp; </br>
                Email: shreecommuni@yahoo.co.in </br>
 <!-- <font color="#1155cc" size="1" style="font-size:8pt"> <u><a href="http://www.shreecom.com" target="_blank">www.shreecom.com</a></u> </font>
                </font></br> --></p>
	</td>
 </tr>
	
	<tr>
	  <td style="border-left:none;border-right:none;border-bottom:1px solid #000001;padding:0in" align="RIGHT"> 
			
		<p align="RIGHT"><font face="Arial, serif"><font style="font-size:9pt" size="1"></br>
           <b><font style="font-size:11pt" style="font-family:Helvetica-Bold" color="#17375D">NEFT/RTGS Details&nbsp;</b></font></br> 
            Bank: Axis Bank: LBS Marg, Mulund West&nbsp; </br>
		    Account No: 508010300000037&nbsp; </br>
	        IFSC Code: UTIB0000508&nbsp; </br></font> </font></p>
	  </td>
	</tr>
     <tr>
		<td style="border-left:1px solid #000001;border-right:1px solid #000001;border-bottom:1px solid #000001;padding:0in" align="RIGHT"> 
		<font style="font-size:8pt" face="Arial, serif" size="1">
		<p align="CENTER"><font face="Arial, serif"><font style="font-size:13pt" color="#17375D" size="3"><b>Invoice</b> </font> </font></p>
		</font></td>
	</tr>
 </tbody>
</table>

 <table cellpadding="0" cellspacing="0" width="730">
  <colgroup>
     <col width="150">
     <col width="200">
  </colgroup>
 
	 <tbody>
     <tr><td style="border-left:1px solid #000001;border-right:1px solid #000001;padding:0in" align="LEFT" width="270">
		 <p><font face="Arial, serif" style="font-size:8pt" size="1">&nbsp;&nbsp;M/S, </p>	</font>	 
		 <p><font face="Arial, serif"><font style="font-size:8pt" size="1">&nbsp;&nbsp;<?=$_REQUEST['custdesc']?></font></font></p>
	     <p><font face="Arial, serif"><font style="font-size:8pt" size="1">&nbsp;
		 <?
	     	include_once("conn.php");
	    	$prg = new phpReportGenerator();
	    	$prg->GetCustomerAddress();
	     ?>
		 </font></font></p> 
		 </td>
   <td style="border-right:1px solid #000001;padding:0in" width="158">
	<p><font face="Arial, serif"><font style="font-size:8pt" size="1"></br><b>&nbsp;&nbsp;&nbsp;&nbsp;Details:</b></font></font></p>
	 <font face="Arial, serif"><font style="font-size:8pt" size="1"> 
	 <?
	 	include_once("conn.php");
		$prg = new phpReportGenerator();
		$prg->PrintInvoiceNumber();
	 ?>
	 </font></font><br>
	 <font face="Arial, serif"><font style="font-size:8pt" size="1">&nbsp;&nbsp;Invoice Date:   <?=$_REQUEST['date']?></font></font>
    </td>
    </tr>
    </tbody>
</table>

	  <table cellpadding="0" cellspacing="0" width="730">
		 <colgroup>
             <!--<col width="65">
			 <col width="400">
			 <col width="75"> -->
             <col width="180">
    		 <col width="100">
			 <col width="60">
			 <col width="85">
			 <col width="80">
			 <col width="85">
		</colgroup>
		<tbody>
		  <tr>
			<td style="border-top:1px solid #000001;border-bottom:1px solid #000001;border-left:1px solid #000001;border-right:none;padding:0in">
    		 <p align="CENTER"><font face="Arial, serif"><font style="font-size:8pt" size="1"><b>&nbsp;&nbsp;Pax Name</b></font></font></p>
			</td>
			
			<td style="border-top:1px solid #000001;border-bottom:1px solid #000001;border-left:1px solid #000001;border-right:none;padding:0in">
			 <p align="CENTER"><font face="Arial, serif"><font style="font-size:8pt" size="1"><b>&nbsp;&nbsp;Sector</b></font></font></p>
			</td>

			<td style="border-top:1px solid #000001;border-bottom:1px solid #000001;border-left:1px solid #000001;border-right:none;padding:0in">
			 <p align="CENTER"><font face="Arial, serif"><font style="font-size:8pt" size="1"><b>&nbsp;&nbsp;Travel Date</b></font></font></p>
			</td>

			<td style="border-top:1px solid #000001;border-bottom:1px solid #000001;border-left:1px solid #000001;border-right:none;padding:0in">
			  <p align="CENTER"><font face="Arial, serif"><font style="font-size:8pt" size="1"><b>Base Fare (in Rs.)</b></font></font></p>
			</td>

			<td style="border-top:1px solid #000001;border-bottom:1px solid #000001;border-left:1px solid #000001;border-right:none;padding:0in">
			  <p align="CENTER"><font face="Arial, serif"><font style="font-size:8pt" size="1"><b>Taxes (in Rs.)</b></font></font></p>
			</td>
		
			<td style="border-top:1px solid #000001;border-bottom:1px solid #000001;border-left:1px solid #000001;border-right:1px solid #000001;padding:0in">
			  <p align="CENTER"><font face="Arial, serif"><font style="font-size:8pt" size="1"><b>Amount (in Rs.)&nbsp;&nbsp;</b></font></font></p>
			</td>
			</tr>
	   </tbody>
  <tbody>
	

 <?php
	// include_once("phpReportGen.php");
	include_once("conn.php");
	$prg = new phpReportGenerator();
    $prg->width = "100%";
	$prg->cellpad = "0";
	$prg->cellspace = "0";
	$prg->border = "0";
	$prg->header_color = "#666666";
	$prg->header_textcolor="#FFFFFF";
	$prg->body_alignment = "right";
	$prg->body_color = "#CCCCCC";
	$prg->body_textcolor = "#800022";
	$prg->surrounded = '1';

  $custid=$_REQUEST['custid'];
  
  $sqladdr = "select address from customermast where custid =  '".$custid."'";
  
  $clientaddr = mysql_query($sqladdr);
  
 $sqlc = "select * from PassengerDetails";
  
 $sqlb=" select * from (select 1 as rank_no, date('1-1-2000') as dateorder, DATE_FORMAT((select if(max(paydate) is not null,max(paydate),current_date()) from transactionmast where custid = PARAM_CUST_ID),'%d-%m-%Y') as 'TRANS. DATE', 'Balance B/D' as 'DESCRIPTION', '' sector,'' as taxes, '' as total,IF( (sum(t.debitamt) - sum(t.creditamt)) is NULL,0,(sum(t.debitamt) - sum(t.creditamt)) ) as DEBIT  from customermast c   left join transactionmast t on c.custid = t.custid   left join businessmast b on b.bid = t.bid  where t.status = 0    and t.custid = PARAM_CUST_ID  and t.trndate <= (select if(max(paydate) is not null,max(paydate),current_date()) from transactionmast where custid = PARAM_CUST_ID)  group by c.custid   union all        select  2 as rank_no,date(t.trndate) as dateorder, DATE_FORMAT(t.trndate,'%d-%m-%Y'), p.paxname, p.sector as sector, p.basic, p.taxes,p.total  from transactionmast t   left join  PassengerDetails p on t.trnid = p.trnid  where   custid = PARAM_CUST_ID and   t.status = 0 and t.trndate > (select if(max(paydate) is not null,max(paydate),current_date()) from transactionmast where custid = PARAM_CUST_ID)  union all  select  3 as rank_no,date(t.trndate) as dateorder,'' as 'TRANS. DATE', 'Total Outstanding' as 'DESCRIPTION', ''  sector, IF( (sum(t.debitamt) - sum(t.creditamt)) is NULL,0,(sum(t.debitamt) - sum(t.creditamt)) ) as DEBIT,0 as CREDIT, '' as total  from customermast c   left join transactionmast t on c.custid = t.custid   where t.status = 0    and t.custid = PARAM_CUST_ID  group by c.custid   having IF( (sum(t.debitamt) - sum(t.creditamt)) is NULL,0,(sum(t.debitamt) - sum(t.creditamt)) ) >0  )  a  order by 1,2
  ";
	
	$startdate = $_REQUEST['startdate'];
	$sqlb=str_replace('PARAM_CUST_ID',$custid,$sqlb);
	$sqlb=str_replace('PARAM_START_DATE',$startdate,$sqlb);
	$res = mysql_query($sqlb);
    $res1 = mysql_query($sqlc);
	$prg->mysql_resource = $res;
	$prg->title = "Test Table";
	$prg->generateReport();
	
	?>		  
	
	<table cellpadding="0" cellspacing="0" width="730">
		<colgroup>
        <col width="428">
		<col width="50">
		<col width="1">
		<col width="90">
		</colgroup><tbody><tr>
			<td colspan="4" style="border-top:1px solid #000001;border-bottom:1px solid #000001;border-left:1px solid #000001;border-right:1px solid #000001;padding:0in" width="698">
				<p colspan="2" style="margin-bottom:0in">
				    <font face="Arial, serif"><font style="font-size:8pt" size="1"><b>&nbsp;Amount in words</b></font></font>
					<font face="Arial, serif"><font style="font-size:8pt" size="1">
<?
	include("numtochar.php");
	$num2word=new numtowords($prg->outstanding_amt);
	echo $num2word->flushData();
?>
		</font></font> </p>
			 </td>
             <td style="border-top:1px solid #000001;border-bottom:1px solid #000001;border-left:none;border-right:none;padding:0in">
		         <p colspan="2" style="margin-bottom:0in" align="RIGHT"><font face="Arial, serif"><font style="font-size:8pt" size="1">&nbsp;&nbsp;Rs.   </font></font></p>
			 </td>
			<td style="border-top:1px solid #000001;border-bottom:1px solid #000001;border-left:none;border-right:none;padding:0in" valign="TOP" width="0"> <p><br> </p>
			</td>
			<td style="border-top:1px solid #000001;border-bottom:1px solid #000001;border-left:none;border-right:1px solid #000001;padding:0in" width="99">
			<p colspan="2" style="margin-bottom:0in" align="RIGHT"><font face="Arial, serif"><font style="font-size:8pt" size="1"><b><? echo $prg->outstanding_amt;?></b>&nbsp;&nbsp;</font></font></p>
			</td>
		</tr>
	</tbody>
  </table>
 </td>
</tr>
</tbody>
</table>

<!--
	<table cellpadding="0" cellspacing="0" width="698">
		<tbody>
        <tr>
           	<td colspan="3" style="border-left:1px solid #000001;border-right:1px solid #000001;padding:0in" width="597">
				<p><font face="Arial, serif"><font style="font-size:11pt" size="1"></br><b>&nbsp;&nbsp;Terms &amp; Conditions:</b></font></font></p>
			 </td>
		</tr>
        
		<tr>
			<td style="border-left:1px solid #000001;padding:0in" width="300">
            </br>
				<p><font face="Arial, serif"><font style="font-size:11pt" size="1"><b>&nbsp;&nbsp;Cheque:</b></font></font></p>
                <p><font face="Arial, serif"><font style="font-size:8pt" size="1">
                All    Cheques / Demand Drafts in payment of bills must be crossed "A/C
				Payee Only" and drawn in favour of Shree Communications.</font></font></p>
		    </td>
        </tr>
              
         <tr>
         		<td style="border-left:1px solid #000001;padding:0in" width="90">
				<p><font face="Arial, serif"><font style="font-size:11pt" size="1"><b>&nbsp;&nbsp;Note:</b></font></font></p>
			</td>
			<td colspan="2" style="border-right:1px solid #000001;padding:0in" width="508">
				<p style="margin-bottom:0in"><font face="Arial, serif"><font style="font-size:8pt" size="1">Service
				Tax exemption vide Notification No.6/2005-ST Dated 01/03/2005</font></font></p>
			</td>
		</tr>
		<tr>
		</tr>
	
        <tr>
			<td style="border-left:1px solid #000001;padding:0in" width="90"> 
			<p>
				 <br>
			</p>
		</td> 
			<td style="border-right:1px solid #000001;padding:0in" width="328">
				<p><br>
				</p>
			</td>
		</tr>
        
        </tr>
    	
        <tr>
    			<td colspan="3" style="border-top:none;border-bottom:none;border-left:1px solid #000001;border-right:1px solid #000001;padding:0in" width="597">
				<p align="Right"><font face="Arial, serif"><font color = "red" style="font-size:11pt" size="2"><b>for Shree Communications &nbsp;&nbsp;</b></font></font></p></br>
			</td>
		</tr>
          
		     <tr>
    			<td colspan="3" style="border-top:none;border-bottom:none;border-left:1px solid #000001;border-right:1px solid #000001;padding:0in" width="597">
				<p align="Right"><font face="Arial, serif"><font style="font-size:11pt" size="2">Authorised Signatory &nbsp;&nbsp;</font></font></p>
			</td>
		</tr>
        
    	   <tr>
				<td colspan="3" style="border-top:none;border-bottom:1px solid #000001;border-left:1px solid #000001;border-right:1px solid #000001;padding:0in" width="597">
				<p align="LEFT"><font face="Arial, serif"><font style="font-size:8pt" size="2">&nbsp;&nbsp;This is a computer generated invoice, hence does not require Signature.</font></font></p>
			</td>
		</tr>

	</tbody>
 </table> -->
        
<!--
  </div>
  <htmlpagefooter name="footer">
<div id="footer" > 
    <table>
        <tr><td></td><td></td><td></td></tr>
    </table>
</div>
</htmlpagefooter>
<sethtmlpagefooter name="footer" value="on" /></table>
-->
<div>
 
<p><font face="Arial, serif"><font style="font-size:11pt" size="1"></br><b>Terms &amp; Conditions:</b></font></font></p>
 <!-- <p align="Right"><font face="Arial, serif" color = "red" style="font-size:11pt" size="2"><b>for Shree Communications &nbsp;&nbsp;</b></font></p> -->
  
<font face="Arial, serif"><font style="font-size:11pt" size="1"><b>Cheque: </b>
<font style='font-size:9.0pt;font-family ="sans-serif"'>All Cheques / Demand Drafts in payment of bills must be crossed &quot;A/C Payee Only&quot;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font face="Arial, serif" color = "red" style="font-size:11pt" size="2"><b>for Shree Communications &nbsp;&nbsp;</b></font></font></br>and drawn in favour of <b> 'Shree Communications'.</b></p>

<!-- <p style='font-size:9.0pt;font-family= "sans-serif"'>and drawn in favour of <b> 'Shree Communications'.</b></p> -->
 
<font face="Arial, serif" style="font-size:11pt" size="1"><b>Note: </b></font>
<Font style='font-size:9.0pt;font-family = "sans-serif"'>Service Tax exemption vide Notification No.6/2005-ST Dated 01/03/2005 </font></p>

<!--<font face="Arial, serif"><font style="font-size:11pt" size="1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Authorised Signatory &nbsp;&nbsp; 
<p align="right"><font face="Arial, serif"><font style="font-size:11pt" >Authorised Signatory &nbsp;&nbsp;</font></font></p> -->
</br>
<p><font style='font-size:9.0pt;line-height:115%;font-family="sans-serif"'>&nbsp;This is a computer generated invoice,
   hence does not require Signature.<font  style="font-size:11pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Authorised Signatory &nbsp;&nbsp;</font></font></p>
</div>

</body>
</html>
